<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <script type="text/javascript">var basePath = '${basePath==""?"/":basePath}';</script>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/font-awesome.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/custom.css" rel="stylesheet">
    <link href="css/jquery.steps.css" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="clients-list">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a data-toggle="tab" href="#tab-1" aria-expanded="true">EC配置</a>
                    </li>
                </ul>
                <div class="col-sm-12">
                    <div id="example-vertical">
                        <h3>选择数据库</h3>
                        <section>
                            <div class="text-center m-t-md">
                                <div class="table-responsive table-scrollable">
                                    <form id="db_form"
                                          role="form" class="form-inline"
                                          method="post" accept-charset="UTF-8"
                                          action="javascript:void(0);"
                                          data-action="${basePath}table">
                                        <table class="table table-bordered table-striped  table-hover">
                                            <thead>
                                            <tr>
                                                <th class="col-sm-3">数据库</th>
                                                <th class="col-sm-3">编码</th>
                                                <th class=""></th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            @[
                                            for(bean in result.data!){
                                            /]
                                            <tr>
                                                <td>
                                                    <label>
                                                        <input type="radio" name="dbs" value="${bean.dbName!}">
                                                        ${beanLP.index}.${bean.dbName!}
                                                    </label>
                                                </td>
                                                <td>
                                                    ${bean.dbCharset!}
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            @[
                                            }elsefor{
                                            /]
                                            <tr>
                                                <td colspan="2">
                                                    <div class="alert"><strong>暂无数据!${result.message!}</strong></div>
                                                </td>
                                            </tr>
                                            @[ } /]
                                            </tbody>
                                        </table>
                                    </form>
                                    <a href="#next"
                                       onclick="submitForm('db_form','table_list');$('#example-vertical-t-1').click();"
                                       class="btn btn-xs btn-success actions"><i
                                            class="glyphicon glyphicon-chevron-right"></i> NEXT</a>
                                </div>
                            </div>
                        </section>
                        <h3>选择数据表</h3>
                        <section>
                            <div id="table_list">
                                请选择数据表
                            </div>
                        </section>
                        <h3>具体参数配置</h3>
                        <section>
                            <div id="column_list">
                                请配置具体参数
                            </div>
                        </section>
                        <h3>执行结果</h3>
                        <section>
                            <div id="finish_msg">
                                执行结果2
                            </div>
                        </section>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/content.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/messages_zh.min.js"></script>
<script src="js/jquery.steps.min.js"></script>

<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<style type="text/css">
    .table-scrollable {
        border: 0px solid #dddddd;
        margin: 5px 0 !important;
    }

    .table thead {
        background: #eee;
    }

    .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
        padding: 0px;
        line-height: 1.42857143;
        vertical-align: top;
        border-top: 1px solid #ddd;
    }

    .clients-list table tr td {
        height: 16px;
        vertical-align: middle;
        border: 1px solid #ddd;
    }

    .table {
        /*width: 400px;*/
        max-width: 100%;
        margin-bottom: 0px;
    }

    .table td {
        text-align: left;
    }
    .wizard.vertical > .content {
        width: 74%;
    }
</style>
<script>
    var ec = {
        radioFlagJson: {},
        radioKeyJson: {},
        clickCheck1: function (obj) {
            //$(obj).css("background", $(obj).prop('checked') ? 'red' : '#000');
            ec.clickCheck2(obj);
        },
        clickCheck2: function (obj) {
            $(obj).parent().css("color", $(obj).prop('checked') ? 'red' : '#000');
        },
        clickRadio2:function (obj) {
            //console.info("=radioFlagJson[obj.name+obj.value]="+radioFlagJson[obj.name+obj.value]);
            if (ec.radioFlagJson[obj.name + obj.value] == undefined) {
                ec.radioFlagJson[obj.name + obj.value] = true;
            }
            $('input[name=\'' + obj.name + '\']').parent().css("color", '#000');
            if (ec.radioKeyJson[obj.name] == obj.name + obj.value) {
                $(obj)[0].checked = ec.radioFlagJson[obj.name + obj.value];
                $(obj).parent().css("color", ec.radioFlagJson[obj.name + obj.value] ? 'red' : '#000');
            } else {
                $(obj)[0].checked = true;
                $(obj).parent().css("color", 'red');
            }
            ec.radioFlagJson[obj.name + obj.value] = !ec.radioFlagJson[obj.name + obj.value];
            ec.radioKeyJson[obj.name] = obj.name + obj.value;
        },
        setCodePkg2:function(){
            ec.setCodePkg($("#_template_dir").val());
        }
        ,
        setCodePkg:function(tempName){
            var _my_pkg = $('#_my_pkg').val();
            var _my_project = $('#_my_project').val();
            var httpMyPkg = '';
            if (_my_project) {
                httpMyPkg = _my_project;
            }
            if (_my_pkg) {
                httpMyPkg += '/' + _my_pkg;
            }
            $('._fxml_java_pkg').hide();
            $('._fxml_ui_pkg').hide();
            switch (tempName) {
                case 'tais': {
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('com.tais'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('com.tais'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('com.tais'+'.dao.master'+_my_project+_my_pkg);
                    $('._api_pkg').val('com.tais'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('com.hzz'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('com.tais'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('com.tais'+'.web.boss'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'hzz': {
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('com.hzz'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('com.hzz'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('com.hzz'+'.dao'+_my_project+_my_pkg);
                    $('._api_pkg').val('com.hzz'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('com.hzz'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('com.hzz'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('com.hzz'+'.web.boss'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'wu': {
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('cn.wu'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('cn.wu'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('cn.wu'+'.dao'+_my_project+_my_pkg);
                    $('._api_pkg').val('cn.wu'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('cn.wu'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('cn.wu'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('cn.wu'+'.web.boss'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'tais': {
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('com.tais'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('com.tais'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('com.tais'+'.dao'+_my_project+_my_pkg);
                    $('._api_pkg').val('com.tais'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('com.tais'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('com.tais'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('com.tais'+'.web.boss'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'mall': {
                    $('._view_pkg').val(_my_project.replace(/\./g, "/") + '/' + _my_pkg);

                    if (_my_pkg) {
                        _my_pkg = '.' + _my_pkg;
                    }
                    _my_project = '.' + _my_project;

                    $('._domain_pkg').val('com.goldmall' + _my_project + '.entity' + _my_pkg);
                    $('._dto_pkg').val('com.goldmall' + _my_project + '.dto' + _my_pkg);
                    $('._mybatis_pkg').val('mybatis'+_my_project+''+_my_pkg);
                    $('._dao_pkg').val('com.goldmall'+_my_project+'.dao'+_my_pkg);
                    $('._api_pkg').val('com.goldmall'+_my_project+'.api'+_my_pkg);
                    //$('._fallback_pkg').val('com.goldmall'+_my_project+'.fallback'+_my_pkg);
                    $('._biz_pkg').val('com.goldmall'+_my_project+'.service'+_my_pkg);
                    $('._web_pkg').val('com.goldmall'+_my_project+'.web.boss.controller'+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'bingo':{
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('com.bingo'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('com.bingo'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('com.bingo'+'.dao'+_my_project+_my_pkg);
                    $('._api_pkg').val('com.bingo'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('com.bingo'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('com.bingo'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('com.bingo'+'.web.controller'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val(('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data')).replace(/\./g,"/"));
                    });
                    break;
                }
                case 'hsd':{
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('com.hsd'+_my_project+'.entity'+_my_pkg);
                    $('._dto_pkg').val('com.hsd'+_my_project+'.dto'+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+_my_project+''+_my_pkg);
                    $('._dao_pkg').val('com.hsd'+_my_project+'.dao'+_my_pkg);
                    $('._api_pkg').val('com.hsd'+_my_project+'.api'+_my_pkg);
                    $('._fallback_pkg').val('com.hsd'+_my_project+'.fallback'+_my_pkg);
                    $('._biz_pkg').val('com.hsd'+_my_project+'.service'+_my_pkg);
                    $('._web_pkg').val('com.hsd'+_my_project+'.web.controller'+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data'));
                    });
                    break;
                }
                case 'fxml':{
                    $('._fxml_java_pkg').show();
                    $('._fxml_ui_pkg').show();
                    $('._view_pkg').val(_my_project.replace(/\./g,"/")+'/'+_my_pkg);

                    if(_my_pkg){
                        _my_pkg='.'+_my_pkg;
                    }
                    _my_project='.'+_my_project;

                    $('._domain_pkg').val('cn.wu'+'.entity'+_my_project+_my_pkg);
                    $('._dto_pkg').val('cn.wu'+'.dto'+_my_project+_my_pkg);
                    $('._mybatis_pkg').val('mybatis'+''+_my_project+_my_pkg);
                    $('._dao_pkg').val('cn.wu'+'.dao'+_my_project+_my_pkg);
                    $('._api_pkg').val('cn.wu'+'.api'+_my_project+_my_pkg);
                    // $('._fallback_pkg').val('cn.wu'+'.fallback'+_my_project+_my_pkg);
                    $('._biz_pkg').val('cn.wu'+'.service'+_my_project+_my_pkg);
                    $('._web_pkg').val('cn.wu'+'.controller'+_my_project+_my_pkg);
                    $('._fxml_java_pkg').val('cn.wu'+'.view'+_my_project+_my_pkg);
                    $('._fxml_ui_pkg').val('cn.wu'+'.ui'+_my_project+_my_pkg);
                    $('._web_http').each(function(){
                        $(this).val('/boss/'+httpMyPkg.replace(/\./g,"/")+'/'+$(this).attr('data'));
                    });
                    $('._fxml_ui_pkg').each(function(){
                        $(this).val(('cn.wu'+'.ui'+_my_project+_my_pkg).replace(/\./g,"/"));
                    });
                    break;
                }
            }
        }
        ,
        templateSwitch: function (tempName) {
            $('._domain').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
            $('._mybatis').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
            $('._dao').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
            $('._biz').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._api').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._insert').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._insertBatch').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?true:false;
                ec.clickCheck1(this);
            });
            $('._delLogic').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._recovery').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._del').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
            $('._update').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._page').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._list').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._detail').each(function(){
                var table=$(this).attr('data');
                $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                ec.clickCheck1(this);
            });
            $('._fxml').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
            switch(tempName){
                case 'tais': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    $('._view_ng').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    break;
                }
                case 'hzz': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    $('._view_ng').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    break;
                }
                case 'tais': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    $('._view_ng').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    break;
                }
                case 'wu': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    $('._view_ng').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    break;
                }
                case 'mall': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    $('._view_ng').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function () {
                        $(this)[0].checked = false;
                        ec.clickCheck1(this);
                    });
                    break;
                }
                case 'hsd': {
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function () {
                        var table = $(this).attr('data');
                        $(this)[0].checked = table.indexOf('_vs_') != -1 ? false : true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
                    $('._view_ng').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
                    break;
                }
                case 'bingo':{
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
                    $('._view_ng').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
                    break;
                }
                case 'fxml':{
                    $('#_dao_suffix').val('Dao');
                    $('._dto').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._web_rest').each(function(){
                        var table=$(this).attr('data');
                        $(this)[0].checked=table.indexOf('_vs_')!=-1?false:true;
                        ec.clickCheck1(this);
                    });
                    $('._web_ctrl').each(function(){$(this)[0].checked=false;ec.clickCheck1(this);});
                    $('._view_ng').each(function(){
                        $(this)[0].checked=false;
                        ec.clickCheck1(this);
                    });
                    $('._view_btl').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
                    $('._fxml').each(function(){$(this)[0].checked=true;ec.clickCheck1(this);});
                    break;
                }
            }
            ec.setCodePkg2();
        }
    };
    $("#example-vertical").steps({
        headerTag: "h3",
        bodyTag: "section",
        transitionEffect: "slideLeft",
        stepsOrientation: "vertical",
        enableAllSteps: true,
        enablePagination: false,
    });
</script>


</body>
</html>
